package com.xiaozhuai.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String test(HttpServletRequest res){
        res.getRemoteAddr();

        return "Hello";
    }
}
